package com.gitee.wsl.platform.network

import kotlinx.coroutines.flow.Flow

/**
 * val checker = NetworkChecker()
 * LaunchedEffect(Unit) {
 *     checker.networkStatusFlow.collect { status ->
 *         println("Network changed: Connected = ${status.isConnected}, Type = ${status.networkType}")
 *     }
 * }
 */

//actual class NetworkChecker actual constructor() {
//    actual suspend fun getNetworkStatus(): NetworkStatus {
//        TODO("Not yet implemented")
//    }
//
//    actual val networkStatusFlow: Flow<NetworkStatus>
//        get() = TODO("Not yet implemented")
//
//    actual companion object {
//        actual val INSTANCE: NetworkChecker by lazy { NetworkChecker() }
//    }
//}